class AddImageGridRelationshipAndRemoveImageExtension < ActiveRecord::Migration
  def self.up
    remove_column :images, :extension
    add_column :images, :grid_id, :integer
  end

  def self.down
    add_column :images, :extension, :string
    remove_column :images, :grid_id
  end
end
